package com.itheima.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import com.itheima.pojo.pageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author guanhuaer
 * @since 2024-09-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Comments对象", description = "")
public class Comments implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "项目ID")
    private Integer projectId;

    @ApiModelProperty(value = "评论方Id")
    private Integer userId;

    @ApiModelProperty(value = "评论方头像")
    private String userImg;

    @ApiModelProperty(value = "评论方姓名")
    private String username;

    @ApiModelProperty(value = "被评论方Id")
    private Integer buserId;

    @ApiModelProperty(value = "被评论方姓名")
    private String busername;

    @ApiModelProperty(value = "评论内容")
    private String content;

    @ApiModelProperty(value = "评论时间")
    private String createTime;

    @ApiModelProperty(value = "被评论方图片")
    private String buserImg;

    @ApiModelProperty(value = "是否为回复")
    private String isReply;

    @ApiModelProperty(value = "点赞数")
    private Integer support;

    @ApiModelProperty(value = "点赞状态")
    private Integer isLiked;
    @ApiModelProperty(value = "父节点ID")
    private Integer parentId;
    @ApiModelProperty(value = "是否刷新")
    private Integer isRefresh;

}
